package ltd.newbee.mall.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.ibatis.type.JdbcType;

import java.util.Date;

@Data
@TableName("tb_newbee_mall_user_token")
public class MallUserToken {
    @TableField(value = "user_id", jdbcType = JdbcType.BIGINT)
    private Long userId;

    @TableField(value = "token", jdbcType = JdbcType.VARCHAR)
    private String token;

    @TableField(value = "update_time", jdbcType = JdbcType.TIMESTAMP)
    private Date updateTime;

    @TableField(value = "expire_time", jdbcType = JdbcType.TIMESTAMP)
    private Date expireTime;
}
